import http from '@/utils/request.js'
import backURL from '@/api/router/requestUrl.js'

//文件下载接口
export const downloadFile = (path) => http.get(backURL.fileDownload,{ params: path})

//查询所有审核结果接口
export const getApprovalResult = () => http.get(backURL.approvalResult)

//添加审核记录接口
export const addApprovalRecord = (checkForm) => http.post(backURL.approvalRecord,checkForm)

//批量添加审核记录接口
export const addApprovalRecords = (checkForm) => http.post(backURL.approvalRecords,checkForm)

